package com.example.shoppingmallclient.vo;

import android.graphics.Bitmap;

/**
 * @author 袁梦达 2019012364
 */
public class CartItemVo {
    private Integer productId;
    private String baseInformation;
    private Bitmap image;
    private Integer quantity;
    private double price;
    private double sumPrice;

    public CartItemVo() {
    }

    public CartItemVo(Integer productId, String baseInformation, Bitmap image, Integer quantity, double price, double sumPrice) {
        this.productId = productId;
        this.baseInformation = baseInformation;
        this.image = image;
        this.quantity = quantity;
        this.price = price;
        this.sumPrice = sumPrice;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getBaseInformation() {
        return baseInformation;
    }

    public void setBaseInformation(String baseInformation) {
        this.baseInformation = baseInformation;
    }

    public Bitmap getImage() {
        return image;
    }

    public void setImage(Bitmap image) {
        this.image = image;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(double sumPrice) {
        this.sumPrice = sumPrice;
    }
}
